package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

@Data
@TableName(value = "course")
public class Course {

  private BigInteger id;
  private String courseCode;
  private int courseCategory;
  private String courseName;
  private double courseHours;
  @TableField(value = "department_code")
  private String departmentCode;
  private int courseCredit;
  private int courseStatus;
  private Date timestamp;
  /**
   * 总学分
   */
  @TableField(exist = false)
  private Double sumAll;



}
